package com.apps.sdses.flink141.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * author: codejiwei
 * date: 2023/9/13
 * desc:
 **/
@Data
public class Orders extends SinkData{
    @JsonProperty(value = "order_id")
    private Integer order_id;

    @JsonProperty(value = "order_date")
    private LocalDateTime orderDate;

    @JsonProperty(value = "customer_name")
    private String customerName;

    private Float price;

    @JsonProperty(value = "product_id")
    private Integer productId;

    @JsonProperty(value = "order_status")
    private Integer orderStatus;
}

